home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
general
/
modelers
/
geomview
/
source.lha
/
Geomview
/
makefiles
/
Makerules.allobj
< prev
next >
Wrap
Text File
|
1993-10-31
|
1KB
|
53 lines
all: ${TARGETS}
# lib: In a library derived from several source directories
# (with a common parent), update the archive from one of the subdirectories.
# Used to simply use ``${AR} r ${LIB} ${OBJS}'', but can't on the NeXT if
# we use fat libraries; their "ar" can create fat libraries from scratch
# but cannot update them, so we must remove the library and rebuild from its
# complete set of object files. (Removing the library is done in mk.NeXT's
# definition of ${AR}.
lib: ${OBJS}
cd ../..; ${MAKE} lib
${LIB}: ${OBJS}
${AR} r $@ ${OBJS}
${RANLIB} $@
.PRECIOUS: ${LIB} ${COMMONLIB}
commonlib: ${OBJS}
@echo "[The parent 'make' rebuilds lib${NAME}.a; to force building it here, use 'make lib'.]
OTHER_DISTFILES_CMD = echo Mkdep
#
# We rely on 'make depend' to take care of ${OBJS} dependencies
#
install: all
@:
depend:
cd ..; ${MAKE} $@
rm_libs:
rm -f ${TARGETS}
rm_depend:
> ${MKDEPFILE}
distclean: _clean_c_files
_clean_c_files:
echo -rm -f *.c
installbin: ${TARGETS}
${INSTALL} -m 775 -O -v -F ${BINDIR} ${TARGETS}
include ${GEOM}/makefiles/Makerules.clean
include ${GEOM}/makefiles/Makerules.common
include ${MKDEPFILE}